<?php


namespace BoojasrFramework\Response;


class JsonResponse extends Response
{
    public function __construct($content = [], int $status = 200, array $headers = [])
    {
        parent::__construct($content, $status, $headers);
    }

    public function sendContent()
    {
        echo json_encode($this->content);

        return $this;
    }
}